<script src="./equal.js"></script>
<script>
  // 1
  {
    let normalString = `line1\n\nline3`
    console.assert(normalString === 'line1\n\nline3', `1. 不成立`)
  }
  // 2
  {
    let multiline =
`


`
    console.assert(multiline.split('\n').length === 4, `2. 不成立`)
  }
  // 3
  {
    let x = 42
    {
      let multiline = `line 1

      ${x}`
      console.assert(multiline === 'line 1\n\n42', `3. 不成立`)
    }
  }
  // 4
  {
    let multiline = `

42`
    console.assert(multiline === '\n\n42', `4. 不成立`)
  }
</script>

